package cn.dglydrpy.fundmanagement.service;

import cn.dglydrpy.fundmanagement.service.dto.InvestmentDiaryDto;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

public interface IInvestmentDiaryService {
    int saveInvestmentDiary(InvestmentDiaryDto investmentDiaryDto);
    void updateInvestmentDiary(InvestmentDiaryDto investmentDiaryDto);
    void deleteInvestmentDiary(Long id);
    InvestmentDiaryDto getInvestmentDiaryById(Long id);
    Page<InvestmentDiaryDto> getInvestmentDiarysByConditions(String fundCode, String portfolioId, String category, int pageNo, int pageSize);
    List<InvestmentDiaryDto> getAllInvestmentDiarys();
}